package com.wooming.studentinfosystem.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Map;

/**
 * DTO类，用于封装搜索条件
 *
 * @author Wooming
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class StudentSearchDTO {
    private Integer pageNum = 1;//页码
    private Integer pageSize = 10;//每页数量
    private String sort = "student_id";//排序字段
    private String order = "asc";//排序方式
    private Map<String, Object> searchBase;//搜索条件
}
